package holiday_packagesmanager;

import holiday_packages.HPackage;
import java.util.Date;
import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 * 
 * @author grp02 - Pascal Charreix and Meike Paetz
 *
 * This is the manager interface for the Agency for finding suitable holiday packages remote.
 */
public interface AgencyManager extends Remote {

    public HPackage findByCountry(String Country) throws RemoteException;

    public HPackage findByDateAfter(Date Start) throws RemoteException;

    public HPackage findByDateBefore(Date End) throws RemoteException;

    public HPackage findByDate(Date Start, Date End) throws RemoteException;

    public HPackage findByHotelName(String Name) throws RemoteException;

    public HPackage findByHotelStars(int Stars) throws RemoteException;

    public HPackage findByPrice(float Price) throws RemoteException;

    public HPackage findByPrice(float Mini, float Maxi) throws RemoteException;

    public HPackage findByFlightOperator(String Name) throws RemoteException;

    public HPackage findByReservationNumber(int Reservation) throws RemoteException;
}
